<%--
  Created by IntelliJ IDEA.
  User: 86177
  Date: 2023/6/24
  Time: 11:18
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
    <title>Title</title>
    <style>
        .head{
            height: 8%;
            width: 100%;
            background-color: #78eaf1;
            align-content: center;
        }
        .head h1{
            text-align: center;
            color:white;
        }
        .body{
            height: 450px;
            margin: 0 auto;
            color: black;
            border: cyan;
        }
        .body tr{
            height: 50px;
        }
        .body td{
            width: 100px;
        }
        .last{
            height: 100px;
            text-align: center;
        }
        .last a{
            background-color: #ff6d5e;
            color: white;
            text-decoration: none;
            font-size: 20px;
            font-weight: bolder;
            margin: 0 auto;
        }
        .bodyone{
            height: 50px;
        }
        table{
            border: 1px solid gray;
            border-collapse: collapse;/*合并单元格边框*/
            width: 800px;
            text-align: center;/*居中*/
        }
        th,td{
            border: 1px solid gray;
            border-bottom: 1px solid gray;
        }
        thead th{
            background-color: black;
            color: white;
        }
        tbody tr:nth-child(2n){
            background-color:#939895;
            cursor: pointer;
        }
        tbody tr:nth-child(2n-1){
            background-color: white;
            cursor: pointer;/*鼠标放上去后变成小手*/
        }
    </style>
</head>
<body bgcolor="#f5f5dc">
<div class="head"><h1>老师个人信息表</h1></div>
<div>
    <table border="1px"  class="body">
        <tr>
            <td>姓名:</td>
            <td><%out.print(request.getAttribute("name"));%></td>
        </tr>
        <tr>
            <td>职称:</td>
            <td><%out.print(request.getAttribute("title"));%></td>
        </tr>
        <tr>
            <td>用户id:</td>
            <td><%out.print(request.getAttribute("teacherid"));%></td>
        </tr>
        <tr>
            <td>密码:</td>
            <td><%out.print(request.getAttribute("password"));%></td>
        </tr>
        <tr>
            <td>学院:</td>
            <td><%out.print(request.getAttribute("department"));%></td>
        </tr>
        <tr>
            <td>手机号码:</td>
            <td><%out.print(request.getAttribute("phone"));%></td>
        </tr>
        <tr>
            <td>邮箱:</td>
            <td><%out.print(request.getAttribute("email"));%></td>
        </tr>
        <tr>
            <td>信誉分:</td>
            <td><%out.print(request.getAttribute("credit score"));%>分</td>
        </tr>
    </table>
</div>
<div class="bodyone"></div>
<div class="last">
    <a href="Manager.jsp">退出查询</a>
</div>
</body>
</html>
